Music Macro Language

Music Macro Language (MML) is a music description language used in sequencing music on a number of computer and video game system platforms.

MML is also sometimes known as Music Markup Language, by conflation with the XML musical notation markup language of that name. For instance, what the video game Mabinogi refers to as "Music Markup Language" is actually a typical implementation of Music Macro Language.

Contents

History

MML originally appeared in Microsoft BASIC and was common in the early 1970s and 1980s on 8-bit and 16-bit era Japanese personal computers.The NEC PC-6001 installed on the Microsoft BASIC and hardware included the Programmable Sound Generator, made to 1981. The MML was especially popular on NEC's personal computers, such as the NEC PC-8801.[1] With the 2001 release of the mck (Music Creation Kit) software for compiling MML to play music on the Nintendo Entertainment System[2], awareness and use of MML has seen some revitalization.[3] MML is presently popular among Japanese electronic musicians[1] and musicians who create chiptunes[4] as a way to write music for the Nintendo Entertainment System.

Syntax

MML originated as a sub-language of BASIC, then generally included in ROM on micro-computers. A PLAY statement uses an argument to define a string of tones that the sound-chip played. MML code has a simple text format whereby letters and numbers are used to describe the musical notes to be played.[1] In addition, various implementations of MML add system extensions allowing parameters of audio synthesis to be altered with specialized commands or to simplify the entry of common musical figures such as arpeggios.

Though many platforms feature custom extensions to MML, and letter case requirements and other minor syntactical features vary slightly in some implementations, the fundamental set of syntax rules, commands, and features which defines MML and is present in whole or in part in all implementations is as follows:[1][5]

In addition to these, most implementations add their own keywords and symbols for system-specific enhancements or extensions.

Languages, platforms and software

Among others, MML appears in the following programming languages, platforms, and software applications:

See also

References

  1. ^ a b c d e Selfridge-Field, Eleanor (1997). Beyond Midi: The Handbook of Musical Codes. Cambridge: MIT Press. ISBN 0262193949. 
  2. ^ "VORC Internet Chiptune Encyclopedia - mck". Archived from the original on 2008-01-03. http://web.archive.org/web/20080103010234/http://www.vorc.org/en/info=mck. Retrieved 2008-02-13. 
  3. ^ a b "VORC Internet Chiptune Encyclopedia - MML". Archived from the original on 2007-11-23. http://web.archive.org/web/20071123185143/http://www.vorc.org/en/info=MML. Retrieved 2008-02-13. 
  4. ^ "VORC: VGM or Chiptune of The Year 2001". 2001-12-31. http://www.vorc.org/en/columns/hally/2001best10e.html. 
  5. ^ Johnson, Jeremiah. "MCK/MML Beginners Guide". http://www.nullsleep.com/treasure/mck_guide/. Retrieved 2008-02-13. 
  6. ^ QBasic manual. Microsoft Corporation. 1991 
  7. ^ IBM Personal Computer BASIC manual. IBM Corporation. 1982 
  8. ^ BASICA manual. Microsoft Corporation. 1982 
  9. ^ GW-BASIC manual. Microsoft Corporation. 1987 
  10. ^ Koshiro, Yūzō. Interview with Kikizo Games. http://games.kikizo.com/features/yuzo_koshiro_iv_oct05_p2.asp. Retrieved 2008-02-13. 
  11. ^ Swimm, Peter (December 21, 2009). "XPMCK - Cross Platform Music Compiler Kit updated". True Chip Till Death. http://truechiptilldeath.com/blog/2009/12/21/xpmck-cross-platform-music-compiler-kit-updated/. Retrieved December 29, 2011. 
  12. ^ "着信メロディは再び自分で作る時代に?──MIDIファイルやWAVファイルを着メロに変換". ITmedia, Inc.. 2001-04-03. http://plusd.itmedia.co.jp/mobile/0104/03/music.html. Retrieved 2008-02-13. 
  13. ^ "ANSI Music - The Technical Details". http://artscene.textfiles.com/ansimusic/information/ansimtech.txt. Retrieved 2009-01-16. 
  14. ^ speaker(4) manual page

External links